package com.example.exam.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-03-28
 */
@TableName("exam.certificatelist")
public class Certificatelist implements Serializable {


    /**
     * 证书代号
     */
    @TableField("`code`")
    private String code;

    /**
     * 证书类型
     */
    @TableField("`type`")
    private String type;

    /**
     * 证书创建时间
     */
    @TableField("`time`")
    private LocalDateTime time;

    /**
     * 证书创建人
     */
    private String creat;

    /**
     * 证书路径
     */
    private String url;

    /**
     * 证书名
     */
    @TableField("`name`")
    private String name;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public String getCreat() {
        return creat;
    }

    public void setCreat(String creat) {
        this.creat = creat;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Certificatelist{" +
                "code=" + code +
                ", type=" + type +
                ", time=" + time +
                ", creat=" + creat +
                ", url=" + url +
                ", name=" + name +
                "}";
    }
}
